﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EMoney.IStock.OAuth.Framework
{
    public class ConfigHelper
    {
        public static string JRPTCachePre
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["JRPTCachePre"];
            }
        }

        public static string SinaAppKey
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["SinaAppKey"];
            }
        }

        public static string SinaAppSecret
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["SinaAppSecret"];
            }
        }

        public static string SinaCallBackURI
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["SinaCallBackURI"];
            }
        }

        public static string AES_KEY
        {
            get
            {
                return "E92B08&!F7&$F7&$";
            }
        }

        public static string AES_IV
        {
            get
            {
                return "abcdefg_abcdefg_";
            }
        }

        public static string QQUrl
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["QQUrl"];
            }
        }

        public static string WebApiEncryptKey
        {
            get
            {
                return System.Configuration.ConfigurationManager.AppSettings["WebApiEncryptKey"];
            }
        }

        public static string WebAPIUrl { get { return System.Configuration.ConfigurationManager.AppSettings["WebAPIUrl"]; } }
    }
}
